package c.c.b.b.f;

import android.text.TextUtils;

/* compiled from: Header */
public final class a {
    public final String a;
    public final String b;

    public a(String str, String str2) {
        this.a = str;
        this.b = str2;
    }

    public boolean equals(Object obj) {
        boolean z = true;
        if (this == obj) {
            return true;
        }
        if (obj == null || a.class != obj.getClass()) {
            return false;
        }
        a aVar = (a) obj;
        if (!(TextUtils.equals(this.a, aVar.a) && TextUtils.equals(this.b, aVar.b))) {
            z = false;
        }
        return z;
    }

    public int hashCode() {
        return this.b.hashCode() + (this.a.hashCode() * 31);
    }

    public String toString() {
        StringBuilder g = c.b.a.a.a.g("Header[name=");
        g.append(this.a);
        g.append(",value=");
        return c.b.a.a.a.d(g, this.b, "]");
    }
}
